class Dog():
    def __init__(self, name, age, gender, height):
        self.name = name
        self.age = age
        self.gender = gender
        self.height = height

    def jiao(self):
        print("哪只狗正在叫？" + str(self.name))
        print("哪只狗正在叫？" + str(self.age))
        print("哪只狗正在叫？" + str(self.gender))
        print("哪只狗正在叫？" + str(self.height))

    def yao(self):
        print("哪只狗正在咬？" + str(self.name))
        print("哪只狗正在咬？" + str(self.age))
        print("哪只狗正在咬？" + str(self.gender))
        print("哪只狗正在咬？" + str(self.height))

    def run(self):
        print("哪只狗正在跑？" + str(self.name))
        print("哪只狗正在跑？" + str(self.age))
        print("哪只狗正在跑？" + str(self.gender))
        print("哪只狗正在跑？" + str(self.height))


#
# d1 = Dog("小白", 2, "男", 180)
# d2 = Dog("小黑", 100, "女", 2000)
#
# d1.jiao()
# d2.jiao()
# d1.yao()
# d2.yao()
# d1.run()
# d2.run()

if __name__ == '__main__':
    d1 = Dog("小白", 2, "男", 180)
    d2 = Dog("小黑", 100, "女", 2000)

    d1.jiao()
    d2.jiao()
    d1.yao()
    d2.yao()
    d1.run()
    d2.run()
